package com.cartoon.dao;

import com.cartoon.entity.Chapter;
import com.cartoon.util.ResponseData;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;
import java.util.List;

/**
 * (Chapter)表数据库访问层
 *
 * @author makejava
 * @since 2021-12-10 11:28:08
 */
public interface ChapterDao {


    List<Chapter> getChapterByCartoonId(int cartoonId);

    List<Chapter> getContentByCartoonId(Integer cartoonId, Integer chapterNumber);

    List<Chapter> getContentByChapterNumber(int cartoonId,int chapterNumber);
}

